package com.atguigu.practice;

public class JumpTheBlockPlus {
    public static void main(String[] args) {

    }
    //数位dp
    public static int jumpFloor(int number){
        int[] dp=new int[21];
        dp[0]=1;
        dp[1]=1;
        for(int i=2;i<=number;i++){
            for(int j=0;j<=i-1;j++){
                dp[i]+=dp[j];
            }
        }
        return dp[number];
    }
}
